﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;



using Tong;
using System.Data;
/// <summary>
///擴展方法試用 的摘要说明
/// </summary>
public static class 擴展方法試用
{
    /// <summary>
    /// 傳入SQL 返回 DataTable
    /// </summary>
    /// <param name="TongUseSelf">類自</param>
    /// <param name="Sql">SQL字符串</param>
    /// <returns>返回 DataTable</returns>
    public static DataTable GetDataTable(this TongUse TongUseSelf, string Sql)
    {
        return TongUseSelf.SqlataSet(Sql).Tables[0];
    }
}
